'use strict';

authService.$inject = ['$http'];

function authService($http) {
  return {
      login: login,
  }

  function login(admin) {
     return $http.post("/a/admin/login",admin);
  }

}

module.exports = authService;